	class CreateQuestions < ActiveRecord::Migration
  def self.up
	create_table :questions do|t|
		t.column :type,:integer
		t.column :content,:text
		t.column :string1,:string 
		t.column :intensifier,:string 
		t.column :string2,:string 
		t.column :delete, :string, :limit => 3, :default => 'NO', :null => false	
		t.column :create_on, :datetime
		t.column :modified, :integer
	end	
  end

  def self.down
	  drop_table questions
  end
end
